class AppBootHook {
  constructor(app) {
    this.app = app;
  }
  async beforeStart() {
    // 应用会等待这个函数执行完成才启动
    console.log(1111);
    await this.app.model.sync({ force: true });
  }
}

module.exports = AppBootHook;

